package com.lakeworks.common.enums;

import static java.util.Arrays.stream;

/**
 * @Author: Auxps
 * @Date: 2023/7/16
 * Description:
 */
public enum ChannelControllerEnum {
    THIRD_CHANNEL("com.lakeworks.web.controller.core.ThirdChannelController");

    private static final String[] names;

    static {
        names = stream(values()).map(ChannelControllerEnum::getName).toArray(String[]::new);
    }

    private final String className;

    ChannelControllerEnum(String className) {
        this.className = className;
    }

    public static String[] getNames() {
        return names;
    }

    public String getName() {
        return className;
    }
}
